/*
 * Copyright TLR Team, Inc. All Rights Reserved.
 */
package com.tfb.dao;

import com.tlr.device.model.RelationUser;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RelationUserMapper {

    public List<RelationUser> selectAllByDeviceID(String deviceId);
    
    public List<RelationUser> selectAllByTelAndCode(@Param("tel") String tel, @Param("code") String code);

    public int deleteByPrimaryKey(Long id);

    public int insertSelective(RelationUser ru);
}
